﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter02.StringExample
{
    public class StringExample
    {
        public static void Demo()
        {
            var s1 = "a string";
            var s2 = s1;
            Console.WriteLine("s1 is " + s1);
            Console.WriteLine("s2 is " + s2);
            s1 = "another string";
            Console.WriteLine("s1 is now " + s1);
            Console.WriteLine("s2 is now " + s2);

            var filepath = @"C:\ProCSarp\First.cs";
            Console.WriteLine(filepath);

            var jabberwocky = @"'Twas brilling and the slithy toves
Did gyre and gimble in the wabe.";
            Console.WriteLine(jabberwocky);
        }
    }
}
